#!/bin/bash
# 主菜单
if [[ -e './shell/menu.sh' ]];then
    echo -e "请选择运行模式\n[1]正常模式(默认)\n[2]调试模式"
    read mode
    if [[ $mode == '2' ]];then
        bash -x shell/menu.sh
    else
        bash ./shell/menu.sh
    fi
fi